﻿using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Text;

namespace Baidu.Push.Api.Domain
{
    /// <summary>
    /// http://developer.baidu.com/wiki/index.php?title=docs/cplat/push/faq
    /// </summary>
    public class PushNotification : PushObject
    {
        /// <summary>
        /// 通知标题，可以为空；如果为空则设为appid对应的应用名;
        /// </summary>
        [JsonProperty("title")]
        public string Title { get; set; }

        /// <summary>
        /// 通知文本内容，不能为空;
        /// </summary>
        [JsonProperty("description")]
        public string Description { get; set; }
    }
}
